package com.xiao.springmvc.jpa;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;

import com.xiao.springmvc.entity.CompanyInfo;


public interface CompanyDao extends JpaRepository<CompanyInfo, Long>{
	
	public List<CompanyInfo> findAll();
	
	public CompanyInfo findById(Long id);
	
}
